#pragma once
#include <fstream>
#include <iostream>
#include "Common.h"

using namespace MessageProcess;

class CMessageSerializer
{
public:
	CMessageSerializer(const char* vFileName);
	void save(const std::vector<SMessage>& vMessages);
	void load(std::vector<SMessage>& vioMessages);

private:
	const char* m_FileName;
};